home *** CD-ROM | disk | FTP | other *** search
- // Generic Polyray input File
- // Polyray input file: Alexander Enzmann
-
- // Set up the camera
- viewpoint {
- from <0, 5, -5>
- at <0, 0, 0>
- up <0, 1, 0>
- angle 30
- resolution 256, 256
- }
-
- // Get various surface finishes
- include "colors.inc"
-
- // Set up background color & lights
- background black
- light <10, 10, -20>
-
- // Simple color map texture
- define dented_red
- texture {
- noise surface {
- color <1, 0.2, 0.2>
- normal 1
- frequency 2
- bump_scale 3
- ambient 0.2
- diffuse 0.5
- specular 0.7
- microfacet Reitz 10
- }
- scale <0.2, 0.2, 0.2>
- }
-
- // Get the definition of a teapot
- include "teapot.inc"
-
- teapot { rotate <0, 20, 0> scale <0.4, 0.4, 0.4> shiny_red }
-